package model;
/**
 * @author Morten
 */
public class Auction {
    
    private int startingbid;
    private String endtime;
    private String seller;
    private Product product;

    public Auction(int startingbid, String endtime, String seller, Product product) {
	this.startingbid = startingbid;
	this.endtime = endtime;
	this.seller = seller;
	this.product = product;
    }

    public Product getProduct() {
	return product;
    }

    public void setProduct(Product product) {
	this.product = product;
    }
    
    public int getStartingbid() {
	return startingbid;
    }

    public void setStartingbid(int startingbid) {
	this.startingbid = startingbid;
    }

    public String getEndtime() {
	return endtime;
    }

    public void setEndtime(String endtime) {
	this.endtime = endtime;
    }

    public String getSeller() {
	return seller;
    }

    public void setSeller(String seller) {
	this.seller = seller;
    }
    
}
